<?php


namespace App\Services;

use App\Models\DictModel;

/**
 * 字典-服务类
 * @author aaron
 * @since 2020/11/11
 * Class DictTypeService
 * @package App\Services
 */
class DictService extends BaseService
{
    /**
     * 构造函数
     * @author aaron
     * @since 2020/11/11
     * DictTypeService constructor.
     */
    public function __construct()
    {
        $this->model = new DictModel();
    }

    /**
     * 获取字典列表
     * @return array
     * @since 2021/7/2
     * @author aaron
     */
    public function getList()
    {
        return parent::getList([], [['sort', 'asc']]); // TODO: Change the autogenerated stub
    }

}
